/*
 * @Author: your name
 * @Date: 2021-03-11 13:30:20
 * @LastEditTime: 2021-03-12 10:23:49
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \ui-demo\src\router\index.js
 */
import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/user/index',
      name: 'UserIndex',
      component: () => import('@/components/UserIndex')
    }
  ]
})
